package cn.ujn.medicalbackend.service;

import cn.ujn.medicalbackend.domain.Doctor;
import cn.ujn.medicalbackend.request.DoctorAddRequest;
import cn.ujn.medicalbackend.request.DoctorDeleteRequest;
import cn.ujn.medicalbackend.request.DoctorUpdateRequest;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;


/**
* @author 26532
* @description 针对表【doctor】的数据库操作Service
* @createDate 2024-10-24 17:48:58
*/
public interface DoctorService extends IService<Doctor> {

    Page<Doctor> DoctorPageTransfer(Page<Doctor> tempPage);


    long addDoctor(DoctorAddRequest doctorAddRequest, HttpServletRequest request);

    boolean deleteDoctor(DoctorDeleteRequest doctorDeleteRequest, HttpServletRequest request);

    boolean updateDoctor(DoctorUpdateRequest doctorUpdateRequest, HttpServletRequest request);

    List<Doctor> doctorListTransfer(List<Doctor> doctorList);
}
